package com.qc.entity;

import java.sql.ResultSet;
import java.sql.SQLException;

public class SkillTagEntity extends BaseEntity {
	
	protected long tagId;
	protected String tagName;
	protected double tagMoney;
	protected String tagContent;
	
	public static SkillTagEntity getInstance(ResultSet rs) throws SQLException {
		SkillTagEntity entity = new SkillTagEntity();
		
		entity.setTagId(rs.getLong("tag_id"));
		entity.setTagName(rs.getString("tag_name"));
		entity.setTagMoney(rs.getDouble("tag_money"));
		entity.setTagContent(rs.getString("tag_content"));
		
		return entity;
	}
	public long getTagId() {
		return tagId;
	}
	public void setTagId(long tagId) {
		this.tagId = tagId;
	}
	public String getTagName() {
		return tagName;
	}
	public void setTagName(String tagName) {
		this.tagName = tagName;
	}
	public double getTagMoney() {
		return tagMoney;
	}
	public void setTagMoney(double tagMoney) {
		this.tagMoney = tagMoney;
	}
	public String getTagContent() {
		return tagContent;
	}
	public void setTagContent(String tagContent) {
		this.tagContent = tagContent;
	}
	

	

}
